//
//  AnimationControllerBase.m
//  CAAnimation
//
//  Created by 周文成 on 2017/12/12.
//  Copyright © 2017年 C-LOVE. All rights reserved.
//

#import "AnimationControllerBase.h"

@interface AnimationControllerBase ()

@end

@implementation AnimationControllerBase

- (void)viewDidLoad {
    [super viewDidLoad]; 
    [self setNavigationRightButton];
}


- (void)setNavigationRightButton {
    UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 30, 30)];
    [button setImage:[UIImage imageNamed:@"set"] forState:UIControlStateNormal];
    [button addTarget:self action:@selector(navigationRightButtonAction) forControlEvents:UIControlEventTouchUpInside];
    UIBarButtonItem *rightButtonItem = [[UIBarButtonItem alloc] initWithCustomView:button];
    self.navigationItem.rightBarButtonItem = rightButtonItem;
}



- (void)navigationRightButtonAction {
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    
    
}



@end
